package com.longcai.piaojia.conn;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/9/6.
 */
@HttpInlet(Conn.COMMENT_EVALUATE)
public class EvaluateSubmitPost extends BaseAsyPost<String> {

    public String user_id, posttime, show_id, content, order_number, picarr = "";//http://img.trip.elong.com/guide/attachments/41/37/fc/large_4137fca0934fa3ecfb65a9bba66dfa0a.jpg,http://scimg.jb51.net/allimg/160815/103-160Q509544OC.jpg

    public int star;

    public EvaluateSubmitPost(AsyCallBack<String> asyCallBack) {
        super(asyCallBack);
    }

    @Override
    protected String parser(JSONObject object) throws Exception {

        TOAST = object.optString("message");

        if(object.optInt("code")==200){

            return "";

        }

        return null;
    }
}
